<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>表格</title>
		<style>
			*{
				margin:0px;
				padding:0px;
			}
			table{
				border-collapse: collapse;
				margin:auto;
				width:600px;
				height:300px;
				text-align:center;
			}
			td,th{
				border:1.5px solid paleturquoise;
				height:50px;
			}
			
			th{
				background-color: #aaaaff;
			}
			tr:hover{
				background-color:#ffdbf9;
			}
			
			tr:nth-child(even){
				background-color: #d3ffff;
			}
		</style>
	</head>
	<body>
		<table>
			<caption>电商2+1（2001）</caption>
			<tr>
				<th>序号</th>
				<th>姓名</th>
				<th>年龄</th>
				<th>性别</th>
				<th>爱好</th>
			</tr>
			
			<tr>
				<td>1</td>
				<td>杜军</td>
				<td>19</td>
				<td>男</td>
				<td>羽毛球</td>
			</tr>
			
			<tr>
				<td>2</td>
				<td>谌关宝</td>
				<td>19</td>
				<td>男</td>
				<td>乒乓球</td>
			</tr>
			
			<tr>
				<td>3</td>
				<td>张君宝</td>
				<td>19</td>
				<td>男</td>
				<td>锻炼</td>
			</tr>
			
			<tr>
				<td>4</td>
				<td>何龙</td>
				<td>19</td>
				<td>男</td>
				<td>看电影</td>
			</tr>
			<tr>
				<td>5</td>
				<td>杨宗宝</td>
				<td>17</td>
				<td>男</td>
				<td>锻炼</td>
			</tr>
			
			<tr>
				<td>6</td>
				<td>顾光龙</td>
				<td>18</td>
				<td>男</td>
				<td>篮球</td>
			</tr>
			
			<tr>
				<td>7</td>
				<td>蒙浪</td>
				<td>19</td>
				<td>男</td>
				<td>篮球</td>
			</tr>
			
			<tr>
				<td>8</td>
				<td>任金堆</td>
				<td>17</td>
				<td>男</td>
				<td>游戏</td>
			</tr>
			
			<tr>
				<td>9</td>
				<td>谌静</td>
				<td>19</td>
				<td>女</td>
				<td>追剧</td>
			</tr>
			
			<tr>
				<td>10</td>
				<td>唐康富</td>
				<td>20</td>
				<td>男</td>
				<td>拍摄</td>
			</tr>
			
			<tr>
				<td>11</td>
				<td>杨晓岚</td>
				<td>20</td>
				<td>男</td>
				<td>端游</td>
			</tr>
			
			<tr>
				<td>12</td>
				<td>王建</td>
				<td>17</td>
				<td>男</td>
				<td>听歌</td>
			</tr>
			
			<tr>
				<td>13</td>
				<td>余伟</td>
				<td>19</td>
				<td>男</td>
				<td>睡觉</td>
			</tr>
			
			<tr>
				<td>14</td>
				<td>田荣宽</td>
				<td>19</td>
				<td>男</td>
				<td>游戏</td>
			</tr>
			<tr>
				<td>15</td>
				<td>代伟</td>
				<td>17</td>
				<td>男</td>
				<td>吃饭</td>
			</tr>
		</table>
	</body>
</html>
